﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"                      
           xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" 
           x:Class="SomethingSpacial.Views.MixItUp.PrintBadgePage"            
           Width="800" Height="395"
		   Style="{StaticResource TransparentChildWindowStyle}" 
		   x:Name="PrintBadgePageChildWindow"
		   Title="Event Badge Print">  		   

    <Canvas x:Name="badgePageCanvas" Margin="0,5,0,10">


        <Grid x:Name="gridBarcode" Width="763" Height="280" d:LayoutOverrides="Height" Canvas.Top="16" Canvas.Left="6">
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="0.236*"/>
    			<ColumnDefinition Width="0.481*"/>
    			<ColumnDefinition Width="0.283*"/>
    		</Grid.ColumnDefinitions>

    		<Grid.RowDefinitions>
    			<RowDefinition Height="25"/>
    			<RowDefinition Height="25"/>
    			<RowDefinition Height="25"/>
    			<RowDefinition Height="85"/>
    			<RowDefinition Height="25"/>
    			<RowDefinition Height="0.632*"/>
    			<RowDefinition Height="0.368*"/>
    			<!--<RowDefinition Height="0*"/>-->
    		</Grid.RowDefinitions>
    		<TextBlock x:Name="textBlockHeaderAttendeeName" TextWrapping="Wrap" Text="Attendee Name:" Grid.Row="0" Grid.Column="0" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" Margin="5,0,0,0" FontSize="13.333"/>
    		<TextBlock x:Name="textBlockAttendeeName" Text="" TextWrapping="Wrap" Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="1" Margin="0,0,7,0" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>

    		<TextBlock x:Name="textBlockHeaderMeetingTitle" TextWrapping="Wrap" Text="Meeting Title:" Grid.Row="1" Grid.Column="0" Grid.RowSpan="1" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" Margin="5,0,0,0" FontSize="13.333"/>
    		<TextBlock x:Name="textBlockMeetingTitle" Text="{Binding EVT_Name}" TextWrapping="Wrap" Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="1" Margin="0,0,7,0" Grid.RowSpan="1" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>

    		<TextBlock x:Name="textBlockHeaderMeetingTime" TextWrapping="Wrap" Text="Meeting Time:" Grid.Column="0" Grid.Row="2" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" Margin="5,0,0,0" FontSize="13.333"/>
    		<TextBlock x:Name="textBlockMeetingTime" FontSize="13.333" Text="{Binding EVT_Start_Date}"
    			TextWrapping="Wrap" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="1" Margin="0,0,7,0" Foreground="White" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI"/>

    		<TextBlock x:Name="textBlockHeaderMeetingDescription" TextWrapping="Wrap" Text="Meeting Description:" Grid.Row="3" Grid.Column="0" Foreground="White" Margin="5,0,0,25" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>
    		<TextBlock x:Name="textBlockMeetingDescription" Text="{Binding EVT_Description}" TextWrapping="Wrap" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="1" Margin="0,0,7,0" Foreground="White" Grid.RowSpan="2" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="12"/>

    		<TextBlock x:Name="textBlockAttendeeId" FontSize="50.667" Grid.RowSpan="1" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Barcode" RenderTransformOrigin="0.46,2.182" Height="55" Margin="5,5,-25,0" VerticalAlignment="Top" Width="200" Grid.Row="5"/>

    		<StackPanel x:Name="stackPanelVideoButtons" Width="104" Orientation="Horizontal" 
    			Grid.Row="4" Grid.Column="2" HorizontalAlignment="Left" Grid.RowSpan="1" Height="25" d:LayoutOverrides="VerticalAlignment" Margin="52,0,0,0" >
    			<Button x:Name="StartCamBtn" Content="Start Webcam" Height="20" Width="100" Margin="5,3,0,2" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI"/>
    		</StackPanel>

    		<Rectangle x:Name="WebcamRectangle" Grid.Column="2" Fill="White" Stroke="Black" Grid.RowSpan="5" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="140" Height="140"/>

    		<Button x:Name="btnPrintPreview" Content="Print Preview" Grid.Row="6" Grid.ColumnSpan="1"
    			HorizontalAlignment="Left" Height="20" Width="100" Margin="5,0,0,0" VerticalAlignment="Bottom" d:LayoutOverrides="Height"/>
    	</Grid>
        <Canvas x:Name="printGridCanvas" Height="364" Width="763" Background="White" Canvas.Left="8" Canvas.Top="2" Visibility="Collapsed">
        	<Grid x:Name="printGrid" Background="White" Height="311" Width="740" d:LayoutOverrides="Height" Canvas.Left="23" Canvas.Top="8">
        		<Grid.ColumnDefinitions>
        			<ColumnDefinition Width="0.055*"/>
        			<ColumnDefinition Width="0.188*"/>
        			<ColumnDefinition Width="0.496*"/>
        			<ColumnDefinition Width="0.261*"/>
        		</Grid.ColumnDefinitions>

        		<Grid.RowDefinitions>
        			<RowDefinition Height="21"/>
        			<RowDefinition Height="28"/>
        			<RowDefinition Height="29"/>
        			<RowDefinition Height="29"/>
        			<RowDefinition Height="29"/>
        			<RowDefinition Height="90"/>
        			<RowDefinition/>
        			<!--<RowDefinition Height="0*"/>-->
        		</Grid.RowDefinitions>
        		<TextBlock x:Name="textBlockVerticalHeader" TextWrapping="Wrap" Text="EVENT ATTENDEE BADGE" Grid.Row="5" Grid.Column="0" Foreground="Black" Grid.ColumnSpan="2" RenderTransformOrigin="0.5,0.5" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#35 Helvetica Thin" Margin="-112,5,32,0" UseLayoutRounding="False" d:LayoutRounding="Auto" FontSize="21.333" TextAlignment="Right" Height="25" VerticalAlignment="Top">
        			<TextBlock.RenderTransform>
        				<TransformGroup>
        					<ScaleTransform/>
        					<SkewTransform/>
        					<RotateTransform Angle="-90"/>
        					<TranslateTransform/>
        				</TransformGroup>
        			</TextBlock.RenderTransform>
        		</TextBlock>
        		<TextBlock x:Name="textBlockHeaderAttendeeNamePrint" TextWrapping="Wrap" Text="Attendee Name:" Grid.Row="1" Grid.Column="1" Foreground="Black" Grid.ColumnSpan="1" Margin="5,3,8,0" Grid.RowSpan="1" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>
        		<TextBlock x:Name="textBlockAttendeeNamePrint" Text="" TextWrapping="Wrap" Grid.Column="2" Grid.ColumnSpan="1" Margin="5,3,-1,0" Foreground="Black" Grid.RowSpan="1" Grid.Row="1" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>

        		<TextBlock x:Name="textBlockHeaderMeetingTitlePrint" TextWrapping="Wrap" Text="Meeting Title:" Grid.Row="2" Grid.Column="1" Grid.RowSpan="1" Foreground="Black" Grid.ColumnSpan="1" Margin="5,4,8,0" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>
        		<TextBlock x:Name="textBlockMeetingTitlePrint" Text="{Binding EVT_Name}" TextWrapping="Wrap" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="1" Margin="5,3,3,1" Grid.RowSpan="1" Foreground="Black" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>

        		<TextBlock x:Name="textBlockHeaderMeetingTimePrint" TextWrapping="Wrap" Text="Meeting Time:" Grid.Column="1" Grid.Row="3" Foreground="Black" Grid.ColumnSpan="1" Margin="5,4,8,0" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>
        		<TextBlock x:Name="textBlockMeetingTimePrint" FontSize="13.333" Text="{Binding EVT_Start_Date}"
        			TextWrapping="Wrap" Grid.Column="2" Grid.Row="3" Grid.ColumnSpan="1" Margin="5,4,0,0" Foreground="Black" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI"/>

        		<TextBlock x:Name="textBlockHeaderMeetingDescriptionPrint" TextWrapping="Wrap" Text="Meeting Description:" Grid.Row="4" Grid.Column="1" Foreground="Black" Grid.ColumnSpan="1" Margin="5,5,8,0" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>
        		<TextBlock x:Name="textBlockMeetingDescriptionPrint" Text="{Binding EVT_Description}" TextWrapping="Wrap" Grid.Column="1" Grid.Row="5" Grid.ColumnSpan="2" Margin="5,14,21,31" Foreground="Black" Grid.RowSpan="2" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333"/>

        		<TextBlock x:Name="textBlockAttendeeIdPrint" FontSize="50" Grid.RowSpan="1" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Barcode" RenderTransformOrigin="0.46,2.182" Height="55" Margin="-8,22,1,0" VerticalAlignment="Top" Width="200" Grid.Row="6" Foreground="Black" Grid.ColumnSpan="1" Grid.Column="3"/>

        		<Rectangle x:Name="imageRectanglePrint" Grid.Column="3" Fill="White" Stroke="Black" Grid.RowSpan="4" Margin="19,8,34,-33" Grid.Row="1"/>
        		<Path Data="M33,0 L33,279.11469" Fill="White" HorizontalAlignment="Right" Margin="0,0,7,30.885" Grid.RowSpan="7" Stretch="Fill" Stroke="Black" UseLayoutRounding="False" Width="1" StrokeThickness="5"/>

        	</Grid>

        	<Button x:Name="btnPrint" Content="Print Badge"
        		HorizontalAlignment="Left" Height="20" Width="100" VerticalAlignment="Bottom" d:LayoutOverrides="Height" Canvas.Left="18" Canvas.Top="323" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI"/>
        	<Button x:Name="btnPrintCancel" Content="Cancel"
        		HorizontalAlignment="Left" Height="20" Width="100" VerticalAlignment="Bottom" Canvas.Left="128" Canvas.Top="323" d:LayoutOverrides="Height" FontFamily="/SomethingSpacial;Component/Fonts/Fonts.zip#Segoe UI"/>
        </Canvas>


        <!--<Canvas x:Name="InfoCanvas" Canvas.Left="562" Width="220" Height="301">
        <Image x:Name="Robot2" Height="121" Source="/SomethingSpacial;Component/Images/Rooms/Robot2.jpg" Stretch="Fill" Width="80" Canvas.Left="134" Canvas.Top="123"/>
			<Path x:Name="pathSpeech1" Fill="#FF98B8C6" Stretch="Fill" Stroke="#FF000000" Data="M0.5,20.5 C0.5,9.4543047 9.4543047,0.5 20.5,0.5 L110.5,0.5 C121.54569,0.5 130.5,9.4543047 130.5,20.5 L130.5,61.5 C130.5,72.545692 121.54569,81.5 110.5,81.5 L65,81.5 L31,113.48873 L45,81.5 L20.5,81.5 C9.4543047,81.5 0.5,72.545692 0.5,61.5 z" UseLayoutRounding="False" Width="160" Height="135" Canvas.Left="37.5" Canvas.Top="-0.5" RenderTransformOrigin="0.5,0.5">
				<Path.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1" ScaleX="-1"/>
						<SkewTransform AngleY="0" AngleX="0"/>
						<RotateTransform Angle="0"/>
						<TranslateTransform/>
					</TransformGroup>
				</Path.RenderTransform>
			</Path>
			<TextBlock x:Name="textSpeech1" FontSize="11" TextWrapping="Wrap" Text="Print your boarding pass to show directions, make it easy to sign in and for 6 free raffle tickets" Height="78" Width="141" Canvas.Left="48" Canvas.Top="10"/>		
		</Canvas> -->

    </Canvas>

</controls:ChildWindow>